package com.mlink.ai.chat.utils

import android.content.Context
import com.mlink.ai.chat.assistant.robot.R

object InitUtils {

    /**
     * 人工复制进来的国际化字符串 nnd
     */
    fun getChatCategory(context: Context): MutableList<ParentCategory> {
        val parentList: MutableList<ParentCategory> = mutableListOf()
        val parent1 = ParentCategory(
            "category1",
            "",
            context.getString(R.string.category_title_parent1),
            context.getString(R.string.category_type_parent1)
        )
        val child11 = ChildCategory(
            "category1_1",
            context.getString(R.string.category_title_child11),
            context.getString(R.string.category_prompt_child11)
        )
        val child12 = ChildCategory(
            "category1_2",
            context.getString(R.string.category_title_child12),
            context.getString(R.string.category_prompt_child12)
        )
        val child13 = ChildCategory(
            "category1_3",
            context.getString(R.string.category_title_child13),
            context.getString(R.string.category_prompt_child13)
        )
        val child14 = ChildCategory(
            "category1_4",
            context.getString(R.string.category_title_child14),
            context.getString(R.string.category_prompt_child14)
        )
        val child15 = ChildCategory(
            "category1_5",
            context.getString(R.string.category_title_child15),
            context.getString(R.string.category_prompt_child15)
        )
        val child16 = ChildCategory(
            "category1_6",
            context.getString(R.string.category_title_child16),
            context.getString(R.string.category_prompt_child16)
        )
        val child17 = ChildCategory(
            "category1_7",
            context.getString(R.string.category_title_child17),
            context.getString(R.string.category_prompt_child17)
        )
        parent1.contents.add(child11)
        parent1.contents.add(child12)
        parent1.contents.add(child13)
        parent1.contents.add(child14)
        parent1.contents.add(child15)
        parent1.contents.add(child16)
        parent1.contents.add(child17)
        parentList.add(parent1)

        val parent2 = ParentCategory(
            "category2",
            "",
            context.getString(R.string.category_title_parent2),
            context.getString(R.string.category_type_parent2)
        )
        val child21 = ChildCategory(
            "category2_1",
            context.getString(R.string.category_title_child21),
            context.getString(R.string.category_prompt_child21)
        )
        val child22 = ChildCategory(
            "category2_2",
            context.getString(R.string.category_title_child22),
            context.getString(R.string.category_prompt_child22)
        )
        val child23 = ChildCategory(
            "category2_3",
            context.getString(R.string.category_title_child23),
            context.getString(R.string.category_prompt_child23)
        )
        val child24 = ChildCategory(
            "category2_4",
            context.getString(R.string.category_title_child24),
            context.getString(R.string.category_prompt_child24)
        )
        val child25 = ChildCategory(
            "category2_5",
            context.getString(R.string.category_title_child25),
            context.getString(R.string.category_prompt_child25)
        )
        val child26 = ChildCategory(
            "category2_6",
            context.getString(R.string.category_title_child26),
            context.getString(R.string.category_prompt_child26)
        )
        val child27 = ChildCategory(
            "category2_7",
            context.getString(R.string.category_title_child27),
            context.getString(R.string.category_prompt_child27)
        )
        val child28 = ChildCategory(
            "category2_8",
            context.getString(R.string.category_title_child28),
            context.getString(R.string.category_prompt_child28)
        )
        val child29 = ChildCategory(
            "category2_9",
            context.getString(R.string.category_title_child29),
            context.getString(R.string.category_prompt_child29)
        )
        val child210 = ChildCategory(
            "category2_10",
            context.getString(R.string.category_title_child210),
            context.getString(R.string.category_prompt_child210)
        )
        val child211 = ChildCategory(
            "category2_11",
            context.getString(R.string.category_title_child211),
            context.getString(R.string.category_prompt_child211)
        )
        val child212 = ChildCategory(
            "category2_12",
            context.getString(R.string.category_title_child212),
            context.getString(R.string.category_prompt_child212)
        )
        parent2.contents.add(child21)
        parent2.contents.add(child22)
        parent2.contents.add(child23)
        parent2.contents.add(child24)
        parent2.contents.add(child25)
        parent2.contents.add(child26)
        parent2.contents.add(child27)
        parent2.contents.add(child28)
        parent2.contents.add(child29)
        parent2.contents.add(child211)
        parent2.contents.add(child212)
        parentList.add(parent2)

        val parent3 = ParentCategory(
            "category3",
            "",
            context.getString(R.string.category_title_parent3),
            context.getString(R.string.category_type_parent3)
        )
        val child31 = ChildCategory(
            "category3_1",
            context.getString(R.string.category_title_child31),
            context.getString(R.string.category_prompt_child31)
        )
        val child32 = ChildCategory(
            "category3_2",
            context.getString(R.string.category_title_child32),
            context.getString(R.string.category_prompt_child32)
        )
        val child33 = ChildCategory(
            "category3_3",
            context.getString(R.string.category_title_child33),
            context.getString(R.string.category_prompt_child33)
        )
        val child34 = ChildCategory(
            "category3_4",
            context.getString(R.string.category_title_child34),
            context.getString(R.string.category_prompt_child34)
        )
        val child35 = ChildCategory(
            "category3_5",
            context.getString(R.string.category_title_child35),
            context.getString(R.string.category_prompt_child35)
        )
        val child36 = ChildCategory(
            "category3_6",
            context.getString(R.string.category_title_child36),
            context.getString(R.string.category_prompt_child36)
        )
        val child37 = ChildCategory(
            "category3_7",
            context.getString(R.string.category_title_child37),
            context.getString(R.string.category_prompt_child37)
        )
        parent3.contents.add(child31)
        parent3.contents.add(child32)
        parent3.contents.add(child33)
        parent3.contents.add(child34)
        parent3.contents.add(child35)
        parent3.contents.add(child36)
        parent3.contents.add(child37)
        parentList.add(parent3)

        val parent4 = ParentCategory(
            "category4",
            "",
            context.getString(R.string.category_title_parent4),
            context.getString(R.string.category_type_parent4)
        )
        val child41 = ChildCategory(
            "category4_1",
            context.getString(R.string.category_title_child41),
            context.getString(R.string.category_prompt_child41)
        )
        val child42 = ChildCategory(
            "category4_2",
            context.getString(R.string.category_title_child42),
            context.getString(R.string.category_prompt_child42)
        )
        val child43 = ChildCategory(
            "category4_3",
            context.getString(R.string.category_title_child43),
            context.getString(R.string.category_prompt_child43)
        )
        val child44 = ChildCategory(
            "category4_4",
            context.getString(R.string.category_title_child44),
            context.getString(R.string.category_prompt_child44)
        )
        val child45 = ChildCategory(
            "category4_5",
            context.getString(R.string.category_title_child45),
            context.getString(R.string.category_prompt_child45)
        )
        val child46 = ChildCategory(
            "category4_6",
            context.getString(R.string.category_title_child46),
            context.getString(R.string.category_prompt_child46)
        )
        val child47 = ChildCategory(
            "category4_7",
            context.getString(R.string.category_title_child47),
            context.getString(R.string.category_prompt_child47)
        )
        val child48 = ChildCategory(
            "category4_8",
            context.getString(R.string.category_title_child48),
            context.getString(R.string.category_prompt_child48)
        )
        parent4.contents.add(child41)
        parent4.contents.add(child42)
        parent4.contents.add(child43)
        parent4.contents.add(child44)
        parent4.contents.add(child45)
        parent4.contents.add(child46)
        parent4.contents.add(child47)
        parent4.contents.add(child48)
        parentList.add(parent4)

        val parent5 = ParentCategory(
            "category5",
            "",
            context.getString(R.string.category_title_parent5),
            context.getString(R.string.category_type_parent5)
        )
        val child51 = ChildCategory(
            "category5_1",
            context.getString(R.string.category_title_child51),
            context.getString(R.string.category_prompt_child51)
        )
        val child52 = ChildCategory(
            "category5_2",
            context.getString(R.string.category_title_child52),
            context.getString(R.string.category_prompt_child52)
        )
        val child53 = ChildCategory(
            "category5_3",
            context.getString(R.string.category_title_child53),
            context.getString(R.string.category_prompt_child53)
        )
        val child54 = ChildCategory(
            "category5_1",
            context.getString(R.string.category_title_child54),
            context.getString(R.string.category_prompt_child54)
        )
        val child55 = ChildCategory(
            "category5_5",
            context.getString(R.string.category_title_child55),
            context.getString(R.string.category_prompt_child55)
        )
        val child56 = ChildCategory(
            "category5_6",
            context.getString(R.string.category_title_child56),
            context.getString(R.string.category_prompt_child56)
        )
        val child57 = ChildCategory(
            "category5_7",
            context.getString(R.string.category_title_child57),
            context.getString(R.string.category_prompt_child57)
        )
        parent5.contents.add(child51)
        parent5.contents.add(child52)
        parent5.contents.add(child53)
        parent5.contents.add(child54)
        parent5.contents.add(child55)
        parent5.contents.add(child56)
        parent5.contents.add(child57)
        parentList.add(parent5)

        val parent6 = ParentCategory(
            "category6",
            "",
            context.getString(R.string.category_title_parent6),
            context.getString(R.string.category_type_parent6)
        )
        val child61 = ChildCategory(
            "category6_1",
            context.getString(R.string.category_title_child61),
            context.getString(R.string.category_prompt_child61)
        )
        val child62 = ChildCategory(
            "category6_2",
            context.getString(R.string.category_title_child62),
            context.getString(R.string.category_prompt_child62)
        )
        val child63 = ChildCategory(
            "category6_3",
            context.getString(R.string.category_title_child63),
            context.getString(R.string.category_prompt_child63)
        )
        val child64 = ChildCategory(
            "category6_4",
            context.getString(R.string.category_title_child64),
            context.getString(R.string.category_prompt_child64)
        )
        val child65 = ChildCategory(
            "category6_5",
            context.getString(R.string.category_title_child65),
            context.getString(R.string.category_prompt_child65)
        )
        val child66 = ChildCategory(
            "category6_6",
            context.getString(R.string.category_title_child66),
            context.getString(R.string.category_prompt_child66)
        )
        val child67 = ChildCategory(
            "category6_7",
            context.getString(R.string.category_title_child67),
            context.getString(R.string.category_prompt_child67)
        )
        val child68 = ChildCategory(
            "category6_8",
            context.getString(R.string.category_title_child68),
            context.getString(R.string.category_prompt_child68)
        )
        val child69 = ChildCategory(
            "category6_9",
            context.getString(R.string.category_title_child69),
            context.getString(R.string.category_prompt_child69)
        )
        parent6.contents.add(child61)
        parent6.contents.add(child62)
        parent6.contents.add(child63)
        parent6.contents.add(child64)
        parent6.contents.add(child65)
        parent6.contents.add(child66)
        parent6.contents.add(child67)
        parent6.contents.add(child68)
        parent6.contents.add(child69)
        parentList.add(parent6)

        val parent7 = ParentCategory(
            "category7",
            "",
            context.getString(R.string.category_title_parent7),
            context.getString(R.string.category_type_parent7)
        )
        val child71 = ChildCategory(
            "category7_1",
            context.getString(R.string.category_title_child71),
            context.getString(R.string.category_prompt_child71)
        )
        val child72 = ChildCategory(
            "category7_2",
            context.getString(R.string.category_title_child72),
            context.getString(R.string.category_prompt_child72)
        )
        val child73 = ChildCategory(
            "category7_3",
            context.getString(R.string.category_title_child73),
            context.getString(R.string.category_prompt_child73)
        )
        val child74 = ChildCategory(
            "category7_4",
            context.getString(R.string.category_title_child74),
            context.getString(R.string.category_prompt_child74)
        )
        val child75 = ChildCategory(
            "category7_5",
            context.getString(R.string.category_title_child75),
            context.getString(R.string.category_prompt_child75)
        )
        val child76 = ChildCategory(
            "category7_6",
            context.getString(R.string.category_title_child76),
            context.getString(R.string.category_prompt_child76)
        )
        val child77 = ChildCategory(
            "category7_7",
            context.getString(R.string.category_title_child77),
            context.getString(R.string.category_prompt_child77)
        )
        val child78 = ChildCategory(
            "category7_8",
            context.getString(R.string.category_title_child78),
            context.getString(R.string.category_prompt_child78)
        )
        val child79 = ChildCategory(
            "category7_9",
            context.getString(R.string.category_title_child79),
            context.getString(R.string.category_prompt_child79)
        )
        parent7.contents.add(child71)
        parent7.contents.add(child72)
        parent7.contents.add(child73)
        parent7.contents.add(child74)
        parent7.contents.add(child75)
        parent7.contents.add(child76)
        parent7.contents.add(child77)
        parent7.contents.add(child78)
        parent7.contents.add(child78)
        parentList.add(parent7)

        val parent8 = ParentCategory(
            "category8",
            "",
            context.getString(R.string.category_title_parent8),
            context.getString(R.string.category_type_parent8)
        )
        val child81 = ChildCategory(
            "category8_1",
            context.getString(R.string.category_title_child81),
            context.getString(R.string.category_prompt_child81)
        )
        val child82 = ChildCategory(
            "category8_2",
            context.getString(R.string.category_title_child82),
            context.getString(R.string.category_prompt_child82)
        )
        val child83 = ChildCategory(
            "category8_3",
            context.getString(R.string.category_title_child83),
            context.getString(R.string.category_prompt_child83)
        )
        val child84 = ChildCategory(
            "category8_4",
            context.getString(R.string.category_title_child84),
            context.getString(R.string.category_prompt_child84)
        )
        val child85 = ChildCategory(
            "category8_5",
            context.getString(R.string.category_title_child85),
            context.getString(R.string.category_prompt_child85)
        )
        val child86 = ChildCategory(
            "category8_6",
            context.getString(R.string.category_title_child86),
            context.getString(R.string.category_prompt_child86)
        )
        val child87 = ChildCategory(
            "category8_7",
            context.getString(R.string.category_title_child87),
            context.getString(R.string.category_prompt_child87)
        )
        val child88 = ChildCategory(
            "category8_8",
            context.getString(R.string.category_title_child88),
            context.getString(R.string.category_prompt_child88)
        )
        val child89 = ChildCategory(
            "category8_9",
            context.getString(R.string.category_title_child89),
            context.getString(R.string.category_prompt_child89)
        )
        parent8.contents.add(child81)
        parent8.contents.add(child82)
        parent8.contents.add(child83)
        parent8.contents.add(child84)
        parent8.contents.add(child85)
        parent8.contents.add(child86)
        parent8.contents.add(child87)
        parent8.contents.add(child88)
        parent8.contents.add(child89)
        parentList.add(parent8)

        val parent9 = ParentCategory(
            "category9",
            "",
            context.getString(R.string.category_title_parent9),
            context.getString(R.string.category_type_parent9)
        )
        val child91 = ChildCategory(
            "category9_1",
            context.getString(R.string.category_title_child91),
            context.getString(R.string.category_prompt_child91)
        )
        val child92 = ChildCategory(
            "category9_2",
            context.getString(R.string.category_title_child92),
            context.getString(R.string.category_prompt_child92)
        )
        val child93 = ChildCategory(
            "category9_3",
            context.getString(R.string.category_title_child93),
            context.getString(R.string.category_prompt_child93)
        )
        val child94 = ChildCategory(
            "category9_4",
            context.getString(R.string.category_title_child94),
            context.getString(R.string.category_prompt_child94)
        )
        val child95 = ChildCategory(
            "category9_1",
            context.getString(R.string.category_title_child95),
            context.getString(R.string.category_prompt_child95)
        )
        val child96 = ChildCategory(
            "category9_6",
            context.getString(R.string.category_title_child96),
            context.getString(R.string.category_prompt_child96)
        )
        val child97 = ChildCategory(
            "category9_7",
            context.getString(R.string.category_title_child97),
            context.getString(R.string.category_prompt_child97)
        )
        parent9.contents.add(child91)
        parent9.contents.add(child92)
        parent9.contents.add(child93)
        parent9.contents.add(child94)
        parent9.contents.add(child95)
        parent9.contents.add(child96)
        parent9.contents.add(child97)
        parentList.add(parent9)

        val parent10 = ParentCategory(
            "category10",
            "",
            context.getString(R.string.category_title_parent10),
            context.getString(R.string.category_type_parent10)
        )
        val child101 = ChildCategory(
            "category10_1",
            context.getString(R.string.category_title_child101),
            context.getString(R.string.category_prompt_child101)
        )
        val child102 = ChildCategory(
            "category10_2",
            context.getString(R.string.category_title_child102),
            context.getString(R.string.category_prompt_child102)
        )
        val child103 = ChildCategory(
            "category10_3",
            context.getString(R.string.category_title_child103),
            context.getString(R.string.category_prompt_child103)
        )
        val child104 = ChildCategory(
            "category10_4",
            context.getString(R.string.category_title_child104),
            context.getString(R.string.category_prompt_child104)
        )
        val child105 = ChildCategory(
            "category10_5",
            context.getString(R.string.category_title_child105),
            context.getString(R.string.category_prompt_child105)
        )
        val child106 = ChildCategory(
            "category10_6",
            context.getString(R.string.category_title_child106),
            context.getString(R.string.category_prompt_child106)
        )
        val child107 = ChildCategory(
            "category10_7",
            context.getString(R.string.category_title_child107),
            context.getString(R.string.category_prompt_child107)
        )
        parent10.contents.add(child101)
        parent10.contents.add(child102)
        parent10.contents.add(child103)
        parent10.contents.add(child104)
        parent10.contents.add(child105)
        parent10.contents.add(child106)
        parent10.contents.add(child107)
        parentList.add(parent10)

        val parent11 = ParentCategory(
            "category11",
            "",
            context.getString(R.string.category_title_parent11),
            context.getString(R.string.category_type_parent11)
        )
        val child111 = ChildCategory(
            "category11_1",
            context.getString(R.string.category_title_child111),
            context.getString(R.string.category_prompt_child111)
        )
        val child112 = ChildCategory(
            "category11_2",
            context.getString(R.string.category_title_child112),
            context.getString(R.string.category_prompt_child112)
        )
        val child113 = ChildCategory(
            "category11_3",
            context.getString(R.string.category_title_child113),
            context.getString(R.string.category_prompt_child113)
        )
        val child114 = ChildCategory(
            "category11_4",
            context.getString(R.string.category_title_child114),
            context.getString(R.string.category_prompt_child114)
        )
        val child115 = ChildCategory(
            "category11_5",
            context.getString(R.string.category_title_child115),
            context.getString(R.string.category_prompt_child115)
        )
        val child116 = ChildCategory(
            "category11_6",
            context.getString(R.string.category_title_child116),
            context.getString(R.string.category_prompt_child116)
        )
        val child117 = ChildCategory(
            "category11_7",
            context.getString(R.string.category_title_child117),
            context.getString(R.string.category_prompt_child117)
        )
        parent11.contents.add(child111)
        parent11.contents.add(child112)
        parent11.contents.add(child113)
        parent11.contents.add(child114)
        parent11.contents.add(child115)
        parent11.contents.add(child116)
        parent11.contents.add(child117)
        parentList.add(parent11)

        return parentList

    }
}

data class ParentCategory(
    var id: String,
    var icon: String,
    var title: String,
    var type: String,
    var contents: MutableList<ChildCategory> = mutableListOf(),
)

data class ChildCategory(
    var id: String,
    var title: String,
    var prompt: String,
)


